home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / helplib / destroy_help_windows.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  502 b   |  25 lines

  1. /*
  2. ### destroy a help window ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/textsw.h>
  7. #include <suntool/panel.h>
  8.  
  9. void
  10. destroy_help_windows()
  11. {
  12.         extern short help_panel_show;
  13.         extern Frame help_frame;
  14.         extern Textsw help_textsw;
  15.         extern Panel help_panel;
  16.  
  17.         if(help_panel_show){
  18.                 window_destroy(help_panel);
  19.                 window_destroy(help_textsw);
  20.                 window_destroy(help_frame);
  21.                 help_panel_show=0;
  22.         }
  23. }
  24.  
  25.